package com.jic.distribution.after.api;

import com.jic.common.base.vo.RestResult;
import com.jic.product.manage.response.MCommissionResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author: mj
 * @date: 2020-01-09
 */
@FeignClient(name = "jic-distribution", path = "/distributionCommission")
public interface DistributionCommissionApi {

    /**
     * 查询分销佣金配置
     *
     * @return
     */
    @PostMapping("/getDistributionCommission")
    RestResult<List<MCommissionResponse>> getDistributionCommission();


}
